feat: query caching plugin#608
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
||
| onQuery: async ({ args, model, operation, proceed }) => { | ||
| if (args && 'cache' in args) { | ||
| const json = stableStringify({ |
There was a problem hiding this comment.
Cache options is now part of the cache key. I guess it's fine, just wanted to make sure it's intentional.
|
|
||
| onQuery: async ({ args, model, operation, proceed }) => { | ||
| if (args && 'cache' in args) { | ||
| const json = stableStringify({ |
There was a problem hiding this comment.
Cache options is now part of the cache key. I guess it's fine, just wanted to make sure it's intentional.
Sample Usage